<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>麻将: D:/Data/gitee/Mahjong01/People.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="log.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">麻将<span id="projectnumber">&#160;beta 4.1</span>
   </div>
   <div id="projectbrief">This is the final homework</div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('_people_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">People.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_people_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;<a class="code" href="_mahjong_8h.html">Mahjong.h</a>&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"><a class="line" href="class_people.html">    5</a></span><span class="keyword">class </span><a class="code hl_class" href="class_people.html">People</a></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span>{</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span>    </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a7ced3699a560d89804be7dc175576c84">TouchesFaceNumberIncrease</a>();               <span class="comment">//易感者触摸面部粘膜次数增加</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a2fb7fd72e7ebdf5f5c2db40da648f881">TouchesContaminatedMahjongNumberIncrease</a>(); <span class="comment">//手部已触摸被污染的麻将的次数增加</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a1729bf321e5a5eb2aa69692ebe9a14af">PrintTouchesFaceNumber</a>();</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a27f74e354788fef1db670611461a5291">PrintTouchesContaminatedMahjongNumber</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_people.html#aeb9860e40e7f2d9c157b1cad558d17dc">   18</a></span>    <span class="keywordtype">float</span> <a class="code hl_variable" href="class_people.html#aeb9860e40e7f2d9c157b1cad558d17dc">Propagates</a> = 0;               </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="class_people.html#ae72bbc574555bbf4ac434ebed0bb52b1">   19</a></span>    <span class="keywordtype">float</span> <a class="code hl_variable" href="class_people.html#ae72bbc574555bbf4ac434ebed0bb52b1">InfectedProbability</a> = 0;      </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="class_people.html#a82d0632344d82364590568dfea6169b2">   21</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#a82d0632344d82364590568dfea6169b2">TouchesFaceNumber</a> = 0;                  <span class="comment">//易感者触摸面部粘膜次数</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="class_people.html#afeb00159d2d1f2212612c499aec96239">   22</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#afeb00159d2d1f2212612c499aec96239">TouchesContaminatedMahjongNumber</a> = 0;   <span class="comment">//手部已触摸被污染的麻将的次数</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="class_people.html#ad579ab57b947f2d2bb52ca800c1495d4">   23</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="class_people.html#ad579ab57b947f2d2bb52ca800c1495d4">HavingMask</a> = 0;                </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="class_people.html#af152347cfabcf9b77572e0b7d6778859">   24</a></span>    <span class="keywordtype">float</span> <a class="code hl_variable" href="class_people.html#af152347cfabcf9b77572e0b7d6778859">VirusLoad</a> = 0;                </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>    </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="class_people.html#aa1ad277012e6a17b1b7e6ea549187be6">   26</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#aa1ad277012e6a17b1b7e6ea549187be6">ReactionRate</a> = -1;              </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="class_people.html#a451c65fc617f018acd1613655edb8a9e">   27</a></span>    <a class="code hl_class" href="class_people.html">People</a>* <a class="code hl_variable" href="class_people.html#a451c65fc617f018acd1613655edb8a9e">after</a> = <span class="keyword">nullptr</span>;            </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="class_people.html#a6cf4cf43e68c613d4b259a0858327c8e">   28</a></span>    <a class="code hl_class" href="class_people.html">People</a>* <a class="code hl_variable" href="class_people.html#a6cf4cf43e68c613d4b259a0858327c8e">front</a> = <span class="keyword">nullptr</span>;            </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="class_people.html#ad7e523b0c789af49d321c90501c833cd">   29</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#ad7e523b0c789af49d321c90501c833cd">ID</a> = -1;                        </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="class_people.html#a4c7b3738504ec0b8ea51719355828f7b">   30</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#a4c7b3738504ec0b8ea51719355828f7b">State</a> = 0;                      </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="class_people.html#ac56a1ae64085ea7eb8d452a31e5fbff0">   36</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#ac56a1ae64085ea7eb8d452a31e5fbff0">KeZi</a> = 0;   </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="class_people.html#ab26ab2561daf812567d04d782d0ce110">   37</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#ab26ab2561daf812567d04d782d0ce110">ShunZi</a> = 0; </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_people.html#aca425909715c4c6cc07d4b2314f3a111">   38</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#aca425909715c4c6cc07d4b2314f3a111">DuiZi</a> = 0;  </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="class_people.html#adb82ee18e4b790ec5d3c6c144f028ae4">   39</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_people.html#adb82ee18e4b790ec5d3c6c144f028ae4">GangZi</a> = 0; </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>    <a class="code hl_function" href="class_people.html#a13e1f16fe9c5a23820b919d132e8503e">People</a>(<span class="keywordtype">float</span> i1,<span class="keywordtype">float</span> i2,<span class="keywordtype">bool</span> mask,<span class="keywordtype">int</span> reaction);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#a37ec2d7608b2b1a76879438302a88da3">getHavingMask</a>();</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a0a724922abf433d0bf7e79974ed2aeaa">setID</a>(<span class="keywordtype">int</span> i);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a7e39ef53fe714d4eddd3db41e1151ee8">setAfter</a>(<a class="code hl_class" href="class_people.html">People</a>* <span class="keyword">const</span> x);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a6fce21b829069d86b048a7fef5255e6e">setFront</a>(<a class="code hl_class" href="class_people.html">People</a>* <span class="keyword">const</span> x);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <a class="code hl_class" href="class_people.html">People</a>* <a class="code hl_function" href="class_people.html#af3b546cb0846f22c61bdcd9cfb64fbec">After</a>();</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    <a class="code hl_class" href="class_people.html">People</a>* <a class="code hl_function" href="class_people.html#ae8e19703c100df7dc42b4dc64275dd41">Front</a>();</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>    <span class="keywordtype">float</span> <a class="code hl_function" href="class_people.html#aec22f48da910c1522cf7698591f48430">GetPropagates</a>();</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>    <span class="keywordtype">float</span> <a class="code hl_function" href="class_people.html#a81ae931f0d40e7527c6e2905f0d184e3">GetInfected</a>();</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a2bd66d259b26c882a6eff7b0e17c58d8">SetVirus</a>(<span class="keywordtype">int</span> a);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    <span class="keywordtype">float</span> <a class="code hl_function" href="class_people.html#ab538e51a9e84ab1253c782ec889d0347">GetVirus</a>();</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a533f5900d96ffba0854b7db128089376">AirDissemination</a>(<span class="keywordtype">float</span> AirVirusLoad);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="class_people.html#aa188874525cda0665acb220deed07a40">  113</a></span>    std::vector&lt;Mahjong&gt; <a class="code hl_variable" href="class_people.html#aa188874525cda0665acb220deed07a40">Hand</a>;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="class_people.html#a5cdaa24ad042833234f5edca1184e82a">  114</a></span>    std::vector&lt;Mahjong&gt; <a class="code hl_variable" href="class_people.html#a5cdaa24ad042833234f5edca1184e82a">OpenDeal</a>;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a39d6f2018afa737f952e877cefecabbb">AddCard</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a> &amp;card);    </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a832a0271d7d8e98db6254c2308c46bee">AddDeal</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a> &amp;card);</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    <a class="code hl_class" href="class_mahjong.html">Mahjong</a> <a class="code hl_function" href="class_people.html#a19926c8c705e6cd58715cd6a5f532847">OutCard</a>();          </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a2e396be75e76096c7fbe0fa102c3a8b4">CardSort</a>();    </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a4dbffa6c1763150dae9f3b808ddbc12d">QSort</a>(<span class="keywordtype">int</span> s, <span class="keywordtype">int</span> t);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#ad6148cacf709fcca92a0002290f35641">Compare</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a, <a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; b);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#a9132439737c7acd65dd1eb1687b05e55">CanHu</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#a8eaaff80a02ac3fd51ac7fab624411d6">CanChi</a>(std::vector&lt;Mahjong&gt;&amp; Tmp, <a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#a8eaaff80a02ac3fd51ac7fab624411d6">CanChi</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#a56c49978cb59cdb13bad5af5c4a3e749">CanGang</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_people.html#ab9f335985eeed5c66197738920989d7a">CanPeng</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="class_people.html#acf1bea071a487352f97208860061947d">ShouldAct</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a1e5b321de3334deb4fcb5bc7d5028ef6">Act</a>(<span class="keywordtype">int</span> type, <a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#aabc856cda8c7d89c0f10c2d4b613f17e">Hu</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#adb9242235a8ed742fbb2f08b2ec39128">Chi</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a61c926e7ba5d9f7de84b5385722414f5">Gang</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a7999c06be7ae9a3405cfe6f40e5e416e">Peng</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="class_people.html#abbfda62da0546c9e9cc4efa3a461ef75">GetHuProbability</a>(<a class="code hl_class" href="class_mahjong.html">Mahjong</a>&amp; a);</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a3844b8877c74027e87e7f2f2f1610513">NumberClear</a>();</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#ada9411b892578b39ca44e9f1d76feadf">PrintInfectedProbability</a>();</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#abe6b5a7faad610ada58fc9168ef4e826">PrintHandCard</a>();</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_people.html#a3065b067ba91165ca626a15e8830595f">PrintMyMessage</a>();</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>};</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span> </div>
<div class="ttc" id="a_mahjong_8h_html"><div class="ttname"><a href="_mahjong_8h.html">Mahjong.h</a></div></div>
<div class="ttc" id="aclass_mahjong_html"><div class="ttname"><a href="class_mahjong.html">Mahjong</a></div><div class="ttdef"><b>Definition:</b> Mahjong.h:3</div></div>
<div class="ttc" id="aclass_people_html"><div class="ttname"><a href="class_people.html">People</a></div><div class="ttdef"><b>Definition:</b> People.h:6</div></div>
<div class="ttc" id="aclass_people_html_a0a724922abf433d0bf7e79974ed2aeaa"><div class="ttname"><a href="class_people.html#a0a724922abf433d0bf7e79974ed2aeaa">People::setID</a></div><div class="ttdeci">void setID(int i)</div><div class="ttdoc">设置本人ID</div><div class="ttdef"><b>Definition:</b> People.cpp:30</div></div>
<div class="ttc" id="aclass_people_html_a13e1f16fe9c5a23820b919d132e8503e"><div class="ttname"><a href="class_people.html#a13e1f16fe9c5a23820b919d132e8503e">People::People</a></div><div class="ttdeci">People(float i1, float i2, bool mask, int reaction)</div><div class="ttdoc">获取和改变玩家属性的一些函数</div><div class="ttdef"><b>Definition:</b> People.cpp:23</div></div>
<div class="ttc" id="aclass_people_html_a1729bf321e5a5eb2aa69692ebe9a14af"><div class="ttname"><a href="class_people.html#a1729bf321e5a5eb2aa69692ebe9a14af">People::PrintTouchesFaceNumber</a></div><div class="ttdeci">void PrintTouchesFaceNumber()</div><div class="ttdef"><b>Definition:</b> People.cpp:13</div></div>
<div class="ttc" id="aclass_people_html_a19926c8c705e6cd58715cd6a5f532847"><div class="ttname"><a href="class_people.html#a19926c8c705e6cd58715cd6a5f532847">People::OutCard</a></div><div class="ttdeci">Mahjong OutCard()</div><div class="ttdoc">出牌</div><div class="ttdef"><b>Definition:</b> People.cpp:127</div></div>
<div class="ttc" id="aclass_people_html_a1e5b321de3334deb4fcb5bc7d5028ef6"><div class="ttname"><a href="class_people.html#a1e5b321de3334deb4fcb5bc7d5028ef6">People::Act</a></div><div class="ttdeci">void Act(int type, Mahjong &amp;a)</div><div class="ttdef"><b>Definition:</b> People.cpp:481</div></div>
<div class="ttc" id="aclass_people_html_a27f74e354788fef1db670611461a5291"><div class="ttname"><a href="class_people.html#a27f74e354788fef1db670611461a5291">People::PrintTouchesContaminatedMahjongNumber</a></div><div class="ttdeci">void PrintTouchesContaminatedMahjongNumber()</div><div class="ttdef"><b>Definition:</b> People.cpp:18</div></div>
<div class="ttc" id="aclass_people_html_a2bd66d259b26c882a6eff7b0e17c58d8"><div class="ttname"><a href="class_people.html#a2bd66d259b26c882a6eff7b0e17c58d8">People::SetVirus</a></div><div class="ttdeci">void SetVirus(int a)</div><div class="ttdoc">设置携带病毒量</div><div class="ttdef"><b>Definition:</b> People.cpp:87</div></div>
<div class="ttc" id="aclass_people_html_a2e396be75e76096c7fbe0fa102c3a8b4"><div class="ttname"><a href="class_people.html#a2e396be75e76096c7fbe0fa102c3a8b4">People::CardSort</a></div><div class="ttdeci">void CardSort()</div><div class="ttdoc">整理牌墙</div><div class="ttdef"><b>Definition:</b> People.cpp:160</div></div>
<div class="ttc" id="aclass_people_html_a2fb7fd72e7ebdf5f5c2db40da648f881"><div class="ttname"><a href="class_people.html#a2fb7fd72e7ebdf5f5c2db40da648f881">People::TouchesContaminatedMahjongNumberIncrease</a></div><div class="ttdeci">void TouchesContaminatedMahjongNumberIncrease()</div><div class="ttdef"><b>Definition:</b> People.cpp:8</div></div>
<div class="ttc" id="aclass_people_html_a3065b067ba91165ca626a15e8830595f"><div class="ttname"><a href="class_people.html#a3065b067ba91165ca626a15e8830595f">People::PrintMyMessage</a></div><div class="ttdeci">void PrintMyMessage()</div><div class="ttdef"><b>Definition:</b> People.cpp:657</div></div>
<div class="ttc" id="aclass_people_html_a37ec2d7608b2b1a76879438302a88da3"><div class="ttname"><a href="class_people.html#a37ec2d7608b2b1a76879438302a88da3">People::getHavingMask</a></div><div class="ttdeci">bool getHavingMask()</div><div class="ttdoc">获取是否戴口罩</div><div class="ttdef"><b>Definition:</b> People.cpp:26</div></div>
<div class="ttc" id="aclass_people_html_a3844b8877c74027e87e7f2f2f1610513"><div class="ttname"><a href="class_people.html#a3844b8877c74027e87e7f2f2f1610513">People::NumberClear</a></div><div class="ttdeci">void NumberClear()</div><div class="ttdoc">将牌堆中的刻子数，顺子数，对子数，杠子数置为0</div><div class="ttdef"><b>Definition:</b> People.cpp:626</div></div>
<div class="ttc" id="aclass_people_html_a39d6f2018afa737f952e877cefecabbb"><div class="ttname"><a href="class_people.html#a39d6f2018afa737f952e877cefecabbb">People::AddCard</a></div><div class="ttdeci">void AddCard(Mahjong &amp;card)</div><div class="ttdoc">摸牌</div><div class="ttdef"><b>Definition:</b> People.cpp:107</div></div>
<div class="ttc" id="aclass_people_html_a451c65fc617f018acd1613655edb8a9e"><div class="ttname"><a href="class_people.html#a451c65fc617f018acd1613655edb8a9e">People::after</a></div><div class="ttdeci">People * after</div><div class="ttdoc">头指针</div><div class="ttdef"><b>Definition:</b> People.h:27</div></div>
<div class="ttc" id="aclass_people_html_a4c7b3738504ec0b8ea51719355828f7b"><div class="ttname"><a href="class_people.html#a4c7b3738504ec0b8ea51719355828f7b">People::State</a></div><div class="ttdeci">int State</div><div class="ttdoc">是否听牌</div><div class="ttdef"><b>Definition:</b> People.h:30</div></div>
<div class="ttc" id="aclass_people_html_a4dbffa6c1763150dae9f3b808ddbc12d"><div class="ttname"><a href="class_people.html#a4dbffa6c1763150dae9f3b808ddbc12d">People::QSort</a></div><div class="ttdeci">void QSort(int s, int t)</div><div class="ttdoc">快速排序</div><div class="ttdef"><b>Definition:</b> People.cpp:169</div></div>
<div class="ttc" id="aclass_people_html_a533f5900d96ffba0854b7db128089376"><div class="ttname"><a href="class_people.html#a533f5900d96ffba0854b7db128089376">People::AirDissemination</a></div><div class="ttdeci">void AirDissemination(float AirVirusLoad)</div><div class="ttdef"><b>Definition:</b> People.cpp:99</div></div>
<div class="ttc" id="aclass_people_html_a56c49978cb59cdb13bad5af5c4a3e749"><div class="ttname"><a href="class_people.html#a56c49978cb59cdb13bad5af5c4a3e749">People::CanGang</a></div><div class="ttdeci">bool CanGang(Mahjong &amp;a)</div><div class="ttdoc">判断能不能杠</div><div class="ttdef"><b>Definition:</b> People.cpp:422</div></div>
<div class="ttc" id="aclass_people_html_a5cdaa24ad042833234f5edca1184e82a"><div class="ttname"><a href="class_people.html#a5cdaa24ad042833234f5edca1184e82a">People::OpenDeal</a></div><div class="ttdeci">std::vector&lt; Mahjong &gt; OpenDeal</div><div class="ttdoc">明牌</div><div class="ttdef"><b>Definition:</b> People.h:114</div></div>
<div class="ttc" id="aclass_people_html_a61c926e7ba5d9f7de84b5385722414f5"><div class="ttname"><a href="class_people.html#a61c926e7ba5d9f7de84b5385722414f5">People::Gang</a></div><div class="ttdeci">void Gang(Mahjong &amp;a)</div><div class="ttdoc">进行杠牌之后的操作</div><div class="ttdef"><b>Definition:</b> People.cpp:552</div></div>
<div class="ttc" id="aclass_people_html_a6cf4cf43e68c613d4b259a0858327c8e"><div class="ttname"><a href="class_people.html#a6cf4cf43e68c613d4b259a0858327c8e">People::front</a></div><div class="ttdeci">People * front</div><div class="ttdoc">尾指针</div><div class="ttdef"><b>Definition:</b> People.h:28</div></div>
<div class="ttc" id="aclass_people_html_a6fce21b829069d86b048a7fef5255e6e"><div class="ttname"><a href="class_people.html#a6fce21b829069d86b048a7fef5255e6e">People::setFront</a></div><div class="ttdeci">void setFront(People *const x)</div><div class="ttdoc">设置头指针</div><div class="ttdef"><b>Definition:</b> People.cpp:46</div></div>
<div class="ttc" id="aclass_people_html_a7999c06be7ae9a3405cfe6f40e5e416e"><div class="ttname"><a href="class_people.html#a7999c06be7ae9a3405cfe6f40e5e416e">People::Peng</a></div><div class="ttdeci">void Peng(Mahjong &amp;a)</div><div class="ttdoc">在手牌中加入麻将a，整理，把这三张牌加入明牌中，KeZi数加1</div><div class="ttdef"><b>Definition:</b> People.cpp:598</div></div>
<div class="ttc" id="aclass_people_html_a7ced3699a560d89804be7dc175576c84"><div class="ttname"><a href="class_people.html#a7ced3699a560d89804be7dc175576c84">People::TouchesFaceNumberIncrease</a></div><div class="ttdeci">void TouchesFaceNumberIncrease()</div><div class="ttdef"><b>Definition:</b> People.cpp:3</div></div>
<div class="ttc" id="aclass_people_html_a7e39ef53fe714d4eddd3db41e1151ee8"><div class="ttname"><a href="class_people.html#a7e39ef53fe714d4eddd3db41e1151ee8">People::setAfter</a></div><div class="ttdeci">void setAfter(People *const x)</div><div class="ttdoc">设置尾指针</div><div class="ttdef"><b>Definition:</b> People.cpp:38</div></div>
<div class="ttc" id="aclass_people_html_a81ae931f0d40e7527c6e2905f0d184e3"><div class="ttname"><a href="class_people.html#a81ae931f0d40e7527c6e2905f0d184e3">People::GetInfected</a></div><div class="ttdeci">float GetInfected()</div><div class="ttdoc">获得被感染概率系数</div><div class="ttdef"><b>Definition:</b> People.cpp:79</div></div>
<div class="ttc" id="aclass_people_html_a82d0632344d82364590568dfea6169b2"><div class="ttname"><a href="class_people.html#a82d0632344d82364590568dfea6169b2">People::TouchesFaceNumber</a></div><div class="ttdeci">int TouchesFaceNumber</div><div class="ttdef"><b>Definition:</b> People.h:21</div></div>
<div class="ttc" id="aclass_people_html_a832a0271d7d8e98db6254c2308c46bee"><div class="ttname"><a href="class_people.html#a832a0271d7d8e98db6254c2308c46bee">People::AddDeal</a></div><div class="ttdeci">void AddDeal(Mahjong &amp;card)</div><div class="ttdoc">把手牌加入开放牌堆</div><div class="ttdef"><b>Definition:</b> People.cpp:119</div></div>
<div class="ttc" id="aclass_people_html_a8eaaff80a02ac3fd51ac7fab624411d6"><div class="ttname"><a href="class_people.html#a8eaaff80a02ac3fd51ac7fab624411d6">People::CanChi</a></div><div class="ttdeci">bool CanChi(std::vector&lt; Mahjong &gt; &amp;Tmp, Mahjong &amp;a)</div><div class="ttdoc">判断能不能吃上家</div><div class="ttdef"><b>Definition:</b> People.cpp:372</div></div>
<div class="ttc" id="aclass_people_html_a9132439737c7acd65dd1eb1687b05e55"><div class="ttname"><a href="class_people.html#a9132439737c7acd65dd1eb1687b05e55">People::CanHu</a></div><div class="ttdeci">bool CanHu(Mahjong &amp;a)</div><div class="ttdoc">判断能不能胡</div><div class="ttdef"><b>Definition:</b> People.cpp:224</div></div>
<div class="ttc" id="aclass_people_html_aa188874525cda0665acb220deed07a40"><div class="ttname"><a href="class_people.html#aa188874525cda0665acb220deed07a40">People::Hand</a></div><div class="ttdeci">std::vector&lt; Mahjong &gt; Hand</div><div class="ttdoc">牌局进行需要的一些函数</div><div class="ttdef"><b>Definition:</b> People.h:113</div></div>
<div class="ttc" id="aclass_people_html_aa1ad277012e6a17b1b7e6ea549187be6"><div class="ttname"><a href="class_people.html#aa1ad277012e6a17b1b7e6ea549187be6">People::ReactionRate</a></div><div class="ttdeci">int ReactionRate</div><div class="ttdoc">[0 1 2 3]反应速度</div><div class="ttdef"><b>Definition:</b> People.h:26</div></div>
<div class="ttc" id="aclass_people_html_aabc856cda8c7d89c0f10c2d4b613f17e"><div class="ttname"><a href="class_people.html#aabc856cda8c7d89c0f10c2d4b613f17e">People::Hu</a></div><div class="ttdeci">void Hu(Mahjong &amp;a)</div><div class="ttdoc">进行胡牌之后的操作</div><div class="ttdef"><b>Definition:</b> People.cpp:509</div></div>
<div class="ttc" id="aclass_people_html_ab26ab2561daf812567d04d782d0ce110"><div class="ttname"><a href="class_people.html#ab26ab2561daf812567d04d782d0ce110">People::ShunZi</a></div><div class="ttdeci">int ShunZi</div><div class="ttdoc">顺子数</div><div class="ttdef"><b>Definition:</b> People.h:37</div></div>
<div class="ttc" id="aclass_people_html_ab538e51a9e84ab1253c782ec889d0347"><div class="ttname"><a href="class_people.html#ab538e51a9e84ab1253c782ec889d0347">People::GetVirus</a></div><div class="ttdeci">float GetVirus()</div><div class="ttdoc">获得病毒携带量</div><div class="ttdef"><b>Definition:</b> People.cpp:95</div></div>
<div class="ttc" id="aclass_people_html_ab9f335985eeed5c66197738920989d7a"><div class="ttname"><a href="class_people.html#ab9f335985eeed5c66197738920989d7a">People::CanPeng</a></div><div class="ttdeci">bool CanPeng(Mahjong &amp;a)</div><div class="ttdoc">判断能不能碰</div><div class="ttdef"><b>Definition:</b> People.cpp:446</div></div>
<div class="ttc" id="aclass_people_html_abbfda62da0546c9e9cc4efa3a461ef75"><div class="ttname"><a href="class_people.html#abbfda62da0546c9e9cc4efa3a461ef75">People::GetHuProbability</a></div><div class="ttdeci">int GetHuProbability(Mahjong &amp;a)</div><div class="ttdef"><b>Definition:</b> People.cpp:619</div></div>
<div class="ttc" id="aclass_people_html_abe6b5a7faad610ada58fc9168ef4e826"><div class="ttname"><a href="class_people.html#abe6b5a7faad610ada58fc9168ef4e826">People::PrintHandCard</a></div><div class="ttdeci">void PrintHandCard()</div><div class="ttdoc">打印手牌的情况</div><div class="ttdef"><b>Definition:</b> People.cpp:643</div></div>
<div class="ttc" id="aclass_people_html_ac56a1ae64085ea7eb8d452a31e5fbff0"><div class="ttname"><a href="class_people.html#ac56a1ae64085ea7eb8d452a31e5fbff0">People::KeZi</a></div><div class="ttdeci">int KeZi</div><div class="ttdoc">牌堆的属性</div><div class="ttdef"><b>Definition:</b> People.h:36</div></div>
<div class="ttc" id="aclass_people_html_aca425909715c4c6cc07d4b2314f3a111"><div class="ttname"><a href="class_people.html#aca425909715c4c6cc07d4b2314f3a111">People::DuiZi</a></div><div class="ttdeci">int DuiZi</div><div class="ttdoc">对子数</div><div class="ttdef"><b>Definition:</b> People.h:38</div></div>
<div class="ttc" id="aclass_people_html_acf1bea071a487352f97208860061947d"><div class="ttname"><a href="class_people.html#acf1bea071a487352f97208860061947d">People::ShouldAct</a></div><div class="ttdeci">int ShouldAct(Mahjong &amp;a)</div><div class="ttdef"><b>Definition:</b> People.cpp:460</div></div>
<div class="ttc" id="aclass_people_html_ad579ab57b947f2d2bb52ca800c1495d4"><div class="ttname"><a href="class_people.html#ad579ab57b947f2d2bb52ca800c1495d4">People::HavingMask</a></div><div class="ttdeci">bool HavingMask</div><div class="ttdoc">是否戴面具</div><div class="ttdef"><b>Definition:</b> People.h:23</div></div>
<div class="ttc" id="aclass_people_html_ad6148cacf709fcca92a0002290f35641"><div class="ttname"><a href="class_people.html#ad6148cacf709fcca92a0002290f35641">People::Compare</a></div><div class="ttdeci">bool Compare(Mahjong &amp;a, Mahjong &amp;b)</div><div class="ttdoc">比较两个麻将的花色，返回bool值</div><div class="ttdef"><b>Definition:</b> People.cpp:202</div></div>
<div class="ttc" id="aclass_people_html_ad7e523b0c789af49d321c90501c833cd"><div class="ttname"><a href="class_people.html#ad7e523b0c789af49d321c90501c833cd">People::ID</a></div><div class="ttdeci">int ID</div><div class="ttdoc">玩家的唯一标识</div><div class="ttdef"><b>Definition:</b> People.h:29</div></div>
<div class="ttc" id="aclass_people_html_ada9411b892578b39ca44e9f1d76feadf"><div class="ttname"><a href="class_people.html#ada9411b892578b39ca44e9f1d76feadf">People::PrintInfectedProbability</a></div><div class="ttdeci">void PrintInfectedProbability()</div><div class="ttdoc">输出被感染的概率</div><div class="ttdef"><b>Definition:</b> People.cpp:636</div></div>
<div class="ttc" id="aclass_people_html_adb82ee18e4b790ec5d3c6c144f028ae4"><div class="ttname"><a href="class_people.html#adb82ee18e4b790ec5d3c6c144f028ae4">People::GangZi</a></div><div class="ttdeci">int GangZi</div><div class="ttdoc">杠子数</div><div class="ttdef"><b>Definition:</b> People.h:39</div></div>
<div class="ttc" id="aclass_people_html_adb9242235a8ed742fbb2f08b2ec39128"><div class="ttname"><a href="class_people.html#adb9242235a8ed742fbb2f08b2ec39128">People::Chi</a></div><div class="ttdeci">void Chi(Mahjong &amp;a)</div><div class="ttdoc">进行吃牌之后的操作</div><div class="ttdef"><b>Definition:</b> People.cpp:519</div></div>
<div class="ttc" id="aclass_people_html_ae72bbc574555bbf4ac434ebed0bb52b1"><div class="ttname"><a href="class_people.html#ae72bbc574555bbf4ac434ebed0bb52b1">People::InfectedProbability</a></div><div class="ttdeci">float InfectedProbability</div><div class="ttdoc">被感染概率系数</div><div class="ttdef"><b>Definition:</b> People.h:19</div></div>
<div class="ttc" id="aclass_people_html_ae8e19703c100df7dc42b4dc64275dd41"><div class="ttname"><a href="class_people.html#ae8e19703c100df7dc42b4dc64275dd41">People::Front</a></div><div class="ttdeci">People * Front()</div><div class="ttdoc">获得头指针</div><div class="ttdef"><b>Definition:</b> People.cpp:62</div></div>
<div class="ttc" id="aclass_people_html_aeb9860e40e7f2d9c157b1cad558d17dc"><div class="ttname"><a href="class_people.html#aeb9860e40e7f2d9c157b1cad558d17dc">People::Propagates</a></div><div class="ttdeci">float Propagates</div><div class="ttdoc">玩家的属性</div><div class="ttdef"><b>Definition:</b> People.h:18</div></div>
<div class="ttc" id="aclass_people_html_aec22f48da910c1522cf7698591f48430"><div class="ttname"><a href="class_people.html#aec22f48da910c1522cf7698591f48430">People::GetPropagates</a></div><div class="ttdeci">float GetPropagates()</div><div class="ttdoc">获得病毒残留概率</div><div class="ttdef"><b>Definition:</b> People.cpp:71</div></div>
<div class="ttc" id="aclass_people_html_af152347cfabcf9b77572e0b7d6778859"><div class="ttname"><a href="class_people.html#af152347cfabcf9b77572e0b7d6778859">People::VirusLoad</a></div><div class="ttdeci">float VirusLoad</div><div class="ttdoc">病毒携带量</div><div class="ttdef"><b>Definition:</b> People.h:24</div></div>
<div class="ttc" id="aclass_people_html_af3b546cb0846f22c61bdcd9cfb64fbec"><div class="ttname"><a href="class_people.html#af3b546cb0846f22c61bdcd9cfb64fbec">People::After</a></div><div class="ttdeci">People * After()</div><div class="ttdoc">获得尾指针</div><div class="ttdef"><b>Definition:</b> People.cpp:54</div></div>
<div class="ttc" id="aclass_people_html_afeb00159d2d1f2212612c499aec96239"><div class="ttname"><a href="class_people.html#afeb00159d2d1f2212612c499aec96239">People::TouchesContaminatedMahjongNumber</a></div><div class="ttdeci">int TouchesContaminatedMahjongNumber</div><div class="ttdef"><b>Definition:</b> People.h:22</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_e3d743d0ec9b4013b28b5d69101bc7fb.html">Data</a></li><li class="navelem"><a class="el" href="dir_9966d19eb073cfb36144783498a50d49.html">gitee</a></li><li class="navelem"><a class="el" href="dir_1dcffc938d38ce9f05a454fe37843823.html">Mahjong01</a></li><li class="navelem"><a class="el" href="_people_8h.html">People.h</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2 </li>
  </ul>
</div>
</body>
</html>
